草庐IT

firebase - flutter NoSuchMethodError

全部标签

android - 无法将 APK 上传到 Firebase 测试实验室

我最近升级到Firebase的“Blaze”计划。我正在尝试使用Firebase测试实验室测试发布的APK,但每次上传APK时,我都会得到这个。ThefilecouldnotbeuploadedtoGoogleCloudStorage(GCS).ThisissuemightbecausedbyincorrectGCSpermissions.如何解决这个问题?我需要更改项目中的某些设置吗?PS-我知道这不是一个与编程相关的问题。我不得不求助于SO,因为即使在将此问题提交给Firebase支持后,我也没有找到解决方案。 最佳答案 这里是

android - 找不到 Firebase 文件异常

我在Rideshare应用程序中使用Firebase数据库,我试图将代码转储到设备中,它显示文件未找到异常,其中Jackson数据绑定(bind)库文件未在构建时集成。我需要清理它并用gradle运行它10或15次,然后安装一次。我正在将Firebase数据快照转换为代码中的自定义Java对象,Jackson库文件丢失,最终映射失败。也尝试删除旧版Api,结果又崩溃了一次。有人帮帮我。这是我一直遇到的错误:Error:Failedtocapturesnapshotofoutputfilesfortask'transformClassesWithDexForDebug'duringup-

android - DebugView 中来自 Firebase Analytics 的用户属性

我在我的android代码中放置了一些用户属性,例如:(https://firebase.google.com/docs/analytics/android/properties)mFirebaseAnalytics.setUserProperty("easy_account_connected","true");Then,Icheckeddebugviewandnothingappearswhereasifthereisabreakpoint,mycodestoppedonthisinstruction.Ican'tunderstand,inmycodethereareotherpl

android - google-services 插件无法检测到 com.google.android.gms 或 com.google.firebase 的任何版本 - 奇怪的行为

我有一个包含4个模块的项目:应用(主要)公共(public)库CD我已将firebase正确设置为此处的状态:https://firebase.google.com/docs/android/setup在我的应用模块中,我不使用任何额外的库,只使用模块依赖项:dependencies{debugCompileproject(path:':common-lib',configuration:'debug')releaseCompileproject(path:':common-lib',configuration:'release')}在我的common-lib模块中,我使用了fireb

Android/Firebase - 解析 GCM 事件中的时间戳时出错 - 空时间戳

我正在构建一个将接收推送通知的Android应用程序。我已经设置了Firebase云消息传递并且几乎可以正常工作,这样我就可以将以下有效负载发送到有效token并收到通知和数据。使用网址https://fcm.googleapis.com/fcm/send{"to":"","notification":{"body":"BODYTEXT","title":"TITLETEXT","sound":"default"},"data":{"message":"Thisissomedata"}}我的应用程序正确接收并可以处理它。唯一的小问题是我在调试中抛出了以下异常:Errorwhilepar

android - 如何在 android 中使用 Firebase EventListener 作为后台服务?

我正在尝试制作即使应用程序关闭也能运行的后台服务。这个服务应该监听Firebase的变化,并根据触发器启动应用程序。我不知道我是否遗漏了代码中的某些内容,或者甚至没有接近正确答案,但这是我的代码:publicclassFireBaseServiceextendsService{privateHashMapfireBaseBattery;@OverridepublicvoidonCreate(){super.onCreate();fireBaseBattery=newHashMap();finalFirebasefirebaseRef_Battery=newFirebase("theur

android - 使用 GeoFire 在 android 中填充 Firebase Recycler View

我想填充我的回收站View,这样我就可以看到附近的人/地点。我正在使用GeoFire查询我的数据库,它看起来像这样。GeoQuerygeoQuery=geoFire.queryAtLocation(newGeoLocation(latLngCenter.latitude,latLngCenter.longitude),0.1);geoQuery.addGeoQueryEventListener(newGeoQueryEventListener(){@OverridepublicvoidonKeyEntered(Stringkey,GeoLocationlocation){System.

android - Firebase 性能测试版/插件构建问题

集成当前Android时FirebasePerformanceMonitoring2017年I/O期间发布的(测试版)版本如下...添加到项目build.gradle:dependencies{classpath'com.google.firebase:firebase-plugins:1.1.0'}添加到appbuild.gradle:dependencies{compile'com.google.firebase:firebase-perf:10.2.6'}您可能会遇到以下构建错误。Error:Executionfailedfortask':app:packageDebug'.>c

android - Firebase 云消息传递不起作用

我正在尝试在我的应用程序上显示通知。我在Firebase控制台上创建了一个应用程序。注意:没有错误。当我从Firebase控制台发送消息后应用程序启动时,什么也没有出现。这里有什么问题吗?MyFireBaseInstaceIDService.javapackagecom.example.hp.mesajlasma;importandroid.util.Log;importcom.google.firebase.iid.FirebaseInstanceId;importcom.google.firebase.iid.FirebaseInstanceIdService;publicclas

php - 我们如何使用 Firebase 云消息传递 (fcm) 在 android 中发送图像和图标以进行推送通知

我想将我的推送通知中的图像和图标从我的服务器端(php)发送到我的应用程序。我已经在Google上进行了搜索,但无法获得正确的结果。我得到FCMPHPCode.我使用这些代码发送通知,但是当我使用“图像和图标”参数图像时,通知中未收到图像。在GCM中很容易在推送通知中发送图标和图像$fields=array('registration_ids'=>$registrationIDs,'data'=>array("title"=>"SamplePushApplication","style"=>"inbox";//picture/inbox,"message"=>"Iamjusttesti